#ifndef NEWRATE_H
#define NEWRATE_H

#include <QWidget>
#include <QVBoxLayout>
#include <QLineEdit>

class newRate : public QWidget
{
    Q_OBJECT

public:
    explicit newRate(QWidget *parent = 0);
    ~newRate();
    void initIncomingItem();
    void initOutgoingItem();
    void initButtons();

private slots:
    void on_btnReset_clicked();
    void on_btnCalculate_clicked();
    void onLineEditValueChanged(QString, QLineEdit*);

private:
    QVBoxLayout m_mainLyt;
    QHBoxLayout m_inputlyt;
    QList<QLineEdit*> m_incomingLines;
    QList<QLineEdit*> m_outgoingLines;
};

#endif // NEWRATE_H
